<div class="panel panel-default">

	<div class="panel-body">
		<div class="col-lg-3">
			<input type="text" class="form-control" ng-model="item.supplier_company_name" placeholder="供应商名称">
		</div>
		<div class="col-lg-2">
			<button class="btn btn-info search btn-block" ng-click="find()">立即搜索</button>
		</div>
	</div>

	<div class="panel-body">
		<table class="table table-striped table-bordered" style="display: table; width: 100%; table-layout:fixed;">
			<thead>
				<tr>
					<th class="text-center" style="width: 20%">供应商名称（编号）</th>
					<th class="text-center" style="width: 12%">预存余额(元)</th>
					<th class="text-center" style="width: 12%">信用额度(元)</th>
					<th class="text-center" style="width: 10%">可用额度(元)</th>
					<th class="text-center" style="width: 15%">余额不足预警(元)</th>
					<!-- <th class="text-center" style="width: 10%">短信提示</th>
					<th class="text-center" style="width: 12%">手机号码</th> -->
					<th class="text-center" style="width: 17%">操作</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="info in list | filter:{'supplier_company_name': item.supplier_name}">
					<td>{{info.supplier_company_name}}（{{info.supplier_company_code}}）</td>
					<td class="text-center">{{info.balance_price ? (info.balance_price | currency : '￥') : '-'}}</td>
					<td class="text-center">{{info.loan_limit_price ? (info.loan_limit_price | currency : '￥') : '-'}}</td>
					<td class="text-center">{{info.show ? (info.all_balance | currency : '￥') : '-'}}</td>
					<td class="text-center">{{info.send_sms_price ? (info.send_sms_price | currency : '￥') : '-'}}</td>
					<!-- <td class="text-center">{{info.send_sms_flag==1 ? '是' : '否'}}</td>
					<td class="text-center">{{info.send_sms_mobile ? info.send_sms_mobile : '-'}}</td> -->
					<td class="text-center">
						<button type="button" class="btn btn-info btn-xs" ng-click="findlist(info)">交易记录</button>
						<button type="button" class="btn btn-info btn-xs" ng-click="edit(info)">余额预警</button>
						<!-- <button type="button" class="btn btn-info btn-xs" ng-click="detail(info)">记录</button> -->
						<!-- <button type="button" class="btn btn-danger btn-xs" ng-click="backMoney(info)">退回预存</button> -->
					</td>
				</tr>
			</tbody>
		</table>
	</div>

</div>


